<%@page import="java.util.ArrayList"%>
<%@page import="com.qububu.common.notice.dto.NoticeInfoDto"%>
<%@page import="java.util.List"%>
<%@page import="java.util.Map"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%-- <script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/jquery/jquery-1.8.2.js"></script> --%>
<title>公告</title>

</head>
<%
List<NoticeInfoDto> siteList = (List<NoticeInfoDto>) request.getAttribute("siteList");// 网站
List<NoticeInfoDto> communityList = (List<NoticeInfoDto>) request.getAttribute("communityList");// 社区
%>
<body>
	<%@ include file="top.jsp" %>
	<div  style="border-bottom: 1px solid #4B4A4A; width : 1000px; height : 420px; margin: 0 auto;">
		<div style="float: left;">
			<div style="border-top:2px solid #4B4A4A; border-bottom:2px dashed #4B4A4A;width: 400px;height: 6px"></div>
			<div style="width: 400px;height: 60px; margin-top: 4px; background:url(<%=request.getContextPath() %>/resource/images/site&community/siteNotice.png)">
				<div style="width:20px; height: 20px; background-color: #ff6422; color: white; line-height: 20px;font-weight:bold; text-align: center;margin-left: 340px; margin-top: 20px;position: absolute;cursor: pointer;">〈</div>
				<div style="width:20px; height: 20px; background-color: #ff6422; color: white; line-height: 20px;font-weight:bold; text-align: center;margin-left: 370px; margin-top: 20px;position: absolute;cursor: pointer;">〉</div>
			</div>
			<div style="margin-top: 10px">
			<%for (NoticeInfoDto notice: siteList) { %>
				<div style="border-bottom: 1px solid #939292;width: 380px;height: 30px;line-height:30px; padding-left: 20px;font-size:15px">
					<font color="#ff6422">◎</font>
					<a href="<%=request.getContextPath()%>/notice/showNoticeInfo?noticeId=<%=notice.getNoticeId()%>" target="_blank"><%=notice.getNoticeTitle() %></a>
				</div>
			<%} %>
				<!-- <div style="border-bottom: 1px solid #939292;width: 380px;height: 30px;line-height:30px; padding-left: 20px;font-size:15px">
					<font color="#ff6422">◎</font>相当清新的串串店 你是甜品界打入串串的卧底么
				</div>
				<div style="border-bottom: 1px solid #939292;width: 380px;height: 30px;line-height:30px; padding-left: 20px;font-size:15px">
					<font color="#ff6422">◎</font>1.7万半包北欧混搭风 各种省钱攻略走起来
				</div>
				<div style="border-bottom: 1px solid #939292;width: 380px;height: 30px;line-height:30px; padding-left: 20px;font-size:15px">
					<font color="#ff6422">◎</font>清包3W硬装混搭风，我家68平的小窝开装了
				</div>
				<div style="width: 380px;height: 30px;line-height:30px; padding-left: 20px;font-size:15px">
					<font color="#ff6422">◎</font>选房才发现社保没满一年不能贷款，交了定金怎么办
				</div> -->
			</div>
			<!-- <div style="margin-top: 10px">
				<div style="border-bottom: 1px solid #939292;width: 380px;height: 30px;line-height:30px; padding-left: 20px;font-size:15px">
					<font color="#ff6422">◎</font>看你们现在学车这么苦 顿时感觉我当年好幸福啊
				</div>
				<div style="border-bottom: 1px solid #939292;width: 380px;height: 30px;line-height:30px; padding-left: 20px;font-size:15px">
					<font color="#ff6422">◎</font>相当清新的串串店 你是甜品界打入串串的卧底么
				</div>
				<div style="border-bottom: 1px solid #939292;width: 380px;height: 30px;line-height:30px; padding-left: 20px;font-size:15px">
					<font color="#ff6422">◎</font>1.7万半包北欧混搭风 各种省钱攻略走起来
				</div>
				<div style="border-bottom: 1px solid #939292;width: 380px;height: 30px;line-height:30px; padding-left: 20px;font-size:15px">
					<font color="#ff6422">◎</font>清包3W硬装混搭风，我家68平的小窝开装了
				</div>
				<div style="width: 380px;height: 30px;line-height:30px; padding-left: 20px;font-size:15px">
					<font color="#ff6422">◎</font>选房才发现社保没满一年不能贷款，交了定金怎么办
				</div>
			</div> -->
		</div>
		<div style="float: left; margin-left: 40px;" >
			<div style="border-top: 2px solid #4B4A4A;border-bottom: 1px dashed #4B4A4A;width: 560px;height: 60px;background:url(<%=request.getContextPath() %>/resource/images/site&community/communityBulletin.png)">
				<div style="width:20px; height: 20px; background-color: #4B4A4A; color: white; line-height: 20px;font-weight:bold; text-align: center;margin-left: 530px; margin-top: 20px;position: absolute;cursor: pointer;">+</div>
			</div>
		<%for (NoticeInfoDto notice : communityList) { %>	
			<div style="width: 560px; height: 150px;border-radius: 5px; background-color: #EAEAEA;margin-top: 10px;">
				<div style="float: left; width: 200px; height:130px; margin-top: 10px;margin-left: 20px">
					<%-- <img style="width : 200px; height : 130px;" src="<%=request.getContextPath() %>/resource/images/site&community/activities.jpg"> --%>
					<img style="width : 200px; height : 130px;" src="<%=notice.getNoticePicUrl() %>">
				</div>
				<div style="float: left;margin-top: 10px;margin-left: 20px"><font color="ff6422">→</font></div>
				<div style="float: left;width: 300px; height:130px; margin-top: 10px;margin-left: 1px">
					<div style="width: 300px;height: 40px;font-size:15px;font-weight:bold;line-height:20px ">
						<a href="<%=request.getContextPath()%>/notice/showNoticeInfo?noticeId=<%=notice.getNoticeId()%>" target="_blank"><%=notice.getNoticeTitle() %></a>
					</div>
					<div style="width: 300px;height: auto;font-size:12px;margin-top: 5px;">时间:<%=notice.showNoticeCreateDttmInString() %></div>
					<div style="width: 300px;height: auto;font-size:12px;margin-top: 5px;">
						<a href="<%=request.getContextPath()%>/notice/showNoticeInfo?noticeId=<%=notice.getNoticeId()%>" target="_blank">详情&gt;&gt;</a>
					</div>
				</div>
			</div>
		<%} %>	
			<%-- <div style="width: 560px; height: 150px;border-radius: 5px; background-color: #EAEAEA;margin-top: 10px;">
				<div style="float: left; width: 200px; height:130px; margin-top: 10px;margin-left: 20px">
					<img style="width : 200px; height : 130px;" src="<%=request.getContextPath() %>/resource/images/site&community/activities.jpg">
				</div>
				<div style="float: left;margin-top: 10px;margin-left: 20px"><font color="ff6422">→</font></div>
				<div style="float: left;width: 300px; height:130px; margin-top: 10px;margin-left: 1px">
					<div style="width: 300px;height: 40px;font-size:15px;font-weight:bold;line-height:20px ">新娘课堂第三期:带你穿越旧上海，感受不一样的暗场婚礼</div>
					<div style="width: 300px;height: auto;font-size:12px;margin-top: 5px;">报名时间:10月9日 - 10月12日</div>
					<div style="width: 300px;height: auto;font-size:12px;margin-top: 5px;">6084人围观</div>
				</div>
			</div> --%>
		</div>
	</div>
	<%@ include file="foot.jsp" %>
</body>
</html>